package cn.bdqn.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel(value = "评价表实体类", description = "这是用来描述一个类的信息")
public class ItripComment {
    @ApiModelProperty(value = "主键", required = true, notes = "这是必须要填")
    private Long id;

    @ApiModelProperty(value = "酒店id",notes = "如果产品是酒店的话 改字段保存酒店id")
    private Long hotelId;

    @ApiModelProperty(value = "商品id",required = true, notes = "这是必须要填")
    private Long productId;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "商品类型",required = true, notes = "(0:旅游产品 1:酒店产品 2:机票产品)")
    private Integer productType;

    @ApiModelProperty(value = "评论内容")
    private String content;

    @ApiModelProperty(value = "用户编号", required = true, notes = "这是必须要填")
    private Long userId;

    @ApiModelProperty(value = "是否包含图片", required = true, notes = "当用户上传评论时检测)0:无图片 1:有图片")
    private Integer isHavingImg;

    @ApiModelProperty(value = "位置评分")
    private Integer positionScore;

    @ApiModelProperty(value = "设施评分")
    private Integer facilitiesScore;

    @ApiModelProperty(value = "服务评分")
    private Integer serviceScore;

    @ApiModelProperty(value = "卫生评分")
    private Integer hygieneScore;

    @ApiModelProperty(value = "综合评分")
    private Integer score;

    @ApiModelProperty(value = "出游类型")
    private Long tripMode;

    @ApiModelProperty(value = "是否满意", notes = "0：有待改善 1：值得推荐")
    private Integer isOk;

    @ApiModelProperty(value = "创建日期", required = true, notes = "必填")
    private Date creationDate;

    private Long createdBy;

    private Date modifyDate;

    private Long modifiedBy;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getHotelId() {
        return hotelId;
    }

    public void setHotelId(Long hotelId) {
        this.hotelId = hotelId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getProductType() {
        return productType;
    }

    public void setProductType(Integer productType) {
        this.productType = productType;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getIsHavingImg() {
        return isHavingImg;
    }

    public void setIsHavingImg(Integer isHavingImg) {
        this.isHavingImg = isHavingImg;
    }

    public Integer getPositionScore() {
        return positionScore;
    }

    public void setPositionScore(Integer positionScore) {
        this.positionScore = positionScore;
    }

    public Integer getFacilitiesScore() {
        return facilitiesScore;
    }

    public void setFacilitiesScore(Integer facilitiesScore) {
        this.facilitiesScore = facilitiesScore;
    }

    public Integer getServiceScore() {
        return serviceScore;
    }

    public void setServiceScore(Integer serviceScore) {
        this.serviceScore = serviceScore;
    }

    public Integer getHygieneScore() {
        return hygieneScore;
    }

    public void setHygieneScore(Integer hygieneScore) {
        this.hygieneScore = hygieneScore;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Long getTripMode() {
        return tripMode;
    }

    public void setTripMode(Long tripMode) {
        this.tripMode = tripMode;
    }

    public Integer getIsOk() {
        return isOk;
    }

    public void setIsOk(Integer isOk) {
        this.isOk = isOk;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public Long getModifiedBy() {
        return modifiedBy;
    }

    public void setModifiedBy(Long modifiedBy) {
        this.modifiedBy = modifiedBy;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}